package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-Apply")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_apply")
public class Apply {
    @TableId(value = "applyId", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String applyid;

    @TableField(value = "userId")
    @ApiModelProperty(value="")
    private Integer userid;

    @TableField(value = "planId")
    @ApiModelProperty(value="")
    private String planid;

    @TableField(value = "sumCount")
    @ApiModelProperty(value="")
    private Integer sumcount;

    @TableField(value = "sumPrice")
    @ApiModelProperty(value="")
    private Double sumprice;

    @TableField(value = "approver")
    @ApiModelProperty(value="")
    private String approver;

    @TableField(value = "remark")
    @ApiModelProperty(value="")
    private String remark;

    @TableField(value = "applyDate")
    @ApiModelProperty(value="")
    private Date applydate;

    @TableField(value = "applyState")
    @ApiModelProperty(value="")
    private String applystate;

    //用户表
    @TableField(exist = false)
    private User user;
}